
import java.io.PrintWriter;

class ParameterList extends Node {

	private Node formal_;
	private Node formal_list_;

	public ParameterList(Node p, Node pl) {
		formal_ = p;
		formal_list_ = pl;
	}

	public ParameterList(Node p) {
		formal_ = p;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : ParameterList");
		// assert(formal_);
		formal_.print(pw);
		if (formal_list_ != null) {
			formal_list_.print(pw);
		}
	}
	
	public String translate(PrintWriter pw,String strPare){
		formal_.translate(pw,null);
		if(formal_list_ != null){
			pw.print(",");
			formal_list_.translate(pw,null);
		}
		return null;
	}

}











